package cn.fly.blog.home;

import cn.fly.blog.base.db.entity.Account;
import cn.fly.blog.common.EnableCommonFeature;
import cn.fly.blog.debug.config.EnableDebugFeature;
import cn.fly.blog.home.utils.BeanMapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@EnableCommonFeature
@EnableDebugFeature
@SpringBootApplication
@MapperScan("cn.fly.blog.home.mapper")
public class FlyHomeApplication {

    public static void main(String[] args) {
        Account account = BeanMapper.INS.clone(new Account().setAccount("yahaha"));
        SpringApplication.run(FlyHomeApplication.class, args);
    }

}
